package com.cskaoyan.service.wx;

import com.cskaoyan.bean.MarketCollect;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.wx.collect.CollectListVo;
import com.cskaoyan.mapper.MarketCollectMapper;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author: zhang
 * @Date: 2022/11/22 23:09
 * @Since: jdk1.8
 */
public interface WxCollectService {


    /**
     * @author zjq
     * @date 2022/11/23 13:43
     */
    void addOrDelete(Integer valueId);

    /**
     * zhang
     * 列出所有收藏的商品
     * @param type 类型
     * @param page 页码
     * @param limit 每页显示几个
     * @return 收藏的商品
     */
    CommonData<CollectListVo> list(Integer type, Integer page, Integer limit);
}
